<!--{*
/*
 * This file is part of EC-CUBE
 *
 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
 *
 * http://www.lockon.co.jp/
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
*}-->

<div id="alpha">
<div id="alpha-inner">
<!--▼SUB NAVI-->
<!--{include file=$tpl_subnavi}-->
<!--▲SUB NAVI-->
</div>
</div>



<div id="beta">
<div id="beta-inner">
<form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->" >
<input type="hidden" name="mode" value="complete">
<input type="hidden" name="review_id" value="<!--{$tpl_review_id}-->" >
<input type="hidden" name="pre_status" value="<!--{$tpl_pre_status}-->">
<!--{foreach key=key item=item from=$arrReview}-->
<!--{if $key ne "mode"}-->
<input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->">
<!--{/if}-->
<!--{/foreach}-->
<!--{foreach key=key item=item from=$arrSearchHidden}-->
<input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->">
<!--{/foreach}-->
<div class="title_page">
<h2><!--{$tpl_subtitle}--></h2>
</div>



<div class="menuclass">
<dl>
<dt>商品名</dt>
<dd>
<!--{$arrReview.name|escape}-->
</dd>

<dt>レビュー表示</dt>
<dd>
<!--{if $arrErr.status}--><span class="red12"><!--{$arrErr.status}--></span><br /><!--{/if}-->
<input type="radio" name="status" value="2" <!--{if $arrReview.status eq 2}-->checked<!--{/if}-->>非表示<!--{if $arrReview.status eq 2 && !$tpl_status_change}--><!--{else}--><input type="radio" name="status" value="1" <!--{if $arrReview.status eq 1}-->checked<!--{/if}-->>表示<!--{/if}-->
</dd>

<dt>投稿日</dt>
<dd>
<!--{$arrReview.create_date|sfDispDBDate}-->
</dd>

<dt>投稿者名<span class="red"> *</span></dt>
<dd>
<span class="red12"><!--{$arrErr.reviewer_name}--></span>
<input type="text" class="box60" name="reviewer_name" value="<!--{$arrReview.reviewer_name|escape}-->" style="<!--{$arrErr.reviewer_name|sfGetErrorColor}-->" size="30" />
</dd>

<dt>ホームページアドレス</dt>
<dd>
<span class="red12"><!--{$arrErr.reviewer_url}--></span>
<input type="text" class="box60" name="reviewer_url" maxlength="<!--{$smarty.const.URL_LEN}-->" value="<!--{$arrReview.reviewer_url|escape}-->" style="<!--{$arrErr.reviewer_url|sfGetErrorColor}-->" size="30" />
</dd>

<dt>性別</dt>
<dd>
<!--{html_radios_ex name="sex" options=$arrSex selected=$arrReview.sex}-->
</dd>

<dt>おすすめレベル<span class="red"> *</span></dt>
<dd>
<!--{assign var=key value="recommend_level"}-->
<span class="red12"><!--{$arrErr.recommend_level}--></span>
<select name="<!--{$key}-->" style="<!--{$arrErr.recommend_level|sfGetErrorColor}-->" >
<option value="" selected="selected">選択してください</option>
<!--{html_options options=$arrRECOMMEND selected=$arrReview[$key]}-->
</select>
</dd>

<dt>タイトル<span class="red"> *</span></dt>
<dd>
<span class="red12"><!--{$arrErr.title}--></span>
<input type="text" class="box60" name="title" value="<!--{$arrReview.title|escape}-->" style="<!--{$arrErr.title|sfGetErrorColor}-->" size="30" />
</dd>

<dt>コメント<span class="red"> *</span></dt>
<dd>
<span class="red12"><!--{$arrErr.comment}--></span>
<textarea name="comment" rows="20" cols="60" class="area60" wrap="soft" style="<!--{$arrErr.comment|sfGetErrorColor}-->" ><!--{$arrReview.comment|escape}--></textarea>
</dd>
</dl>
</div>


<div class="btn_box">
<input type="submit" value="検索画面に戻る" name="back" onclick="document.form1.action='./review.php'; fnModeSubmit('search','','');" >
<input type="submit" value="この内容で登録する" name="subm" onclick="fnModeSubmit('complete','','');" />
</div>


</form>
</div>
</div>
